import { createPinia } from "pinia";
import piniaPluginPersistedstate from "pinia-plugin-persistedstate"; //持久化存储
import type { App } from "vue";
const store = createPinia();
store.use(piniaPluginPersistedstate);
export { store };
export function setupStore(app: App<Element>) {
  app.use(store);
}
